package com.fgw.dao;

import com.fgw.pojo.Worktrend;
import com.fgw.vo.WorktrendListVo;
import org.apache.commons.lang3.StringUtils;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WorktrendMapper {

    int deleteByPrimaryKey(Integer wtId);

    int insert(Worktrend record);

    int insertSelective(Worktrend record);

    Worktrend selectByPrimaryKey(Integer wtId);

    int updateByPrimaryKeySelective(Worktrend record);

    int updateByPrimaryKey(Worktrend record);

    List<Worktrend> listNeedWorktrend();

    List<Worktrend> listWorktrendAll();

    List<Worktrend> selectByTitleAndCrmpyAndWtid(@Param("title")String title,@Param("soure_crmpy")String soure_crmpy,@Param("wt_id")Integer wt_id);

    int selectState(Integer wt_id);

   int updatedStates(@Param("wt_id") Integer wt_id,@Param("state_zt") Integer state_zt);



}